<!DOCTYPE html>
<html lang='zh-CN'>

<head>
  <meta name="generator" content="Hexo 5.4.0">
  <meta charset="utf-8">
  

  <meta http-equiv='x-dns-prefetch-control' content='on' />
  <link rel='dns-prefetch' href='https://cdn.jsdelivr.net'>
  <link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin>
  <link href="https://cdn.bootcdn.net/ajax/libs/KaTeX/0.13.0/katex.min.css" rel="stylesheet">
	<script src="https://cdn.bootcdn.net/ajax/libs/KaTeX/0.13.0/katex.min.js"></script>
	<script>
    
		var katex_config = {
	  delimiters: 
	  [
		  {left: "$$", right: "$$", display: true},
  		{left: "$", right: "$", display: false}
	  ]
    };
    


	</script>
	<script defer src="https://cdn.bootcdn.net/ajax/libs/KaTeX/0.13.0/contrib/auto-render.min.js" onload="renderMathInElement(document.body,katex_config)"></script>

  <meta name="renderer" content="webkit">
  <meta name="force-rendering" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <meta name="HandheldFriendly" content="True" >
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

  <title>Debug Myself</title>

  

  
    <meta property="og:type" content="website">
<meta property="og:title" content="Debug Myself">
<meta property="og:url" content="https://stassenger.gitee.io/index.html">
<meta property="og:site_name" content="Debug Myself">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="Asante Stassenger">
<meta name="twitter:card" content="summary">
  
  

  <!-- feed -->
  

  
    
<link rel="stylesheet" href="/css/main.css">

  

  
<!-- hexo injector head_end start -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css">

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hexo-math@4.0.0/dist/style.css">
<!-- hexo injector head_end end --></head>

<body>
  


  <div class='l_body' id='start'>
    <aside class='l_left'>
    

<header class='header'>
  <div class='logo-wrap'>
  
  
    <a class='title' href='/'>
      Debug Myself
    </a>
  
</div>

  <nav class="menu dis-select"><a class="nav-item active" href="/">文章</a><a class="nav-item" href="/2021/08/09/about/">关于</a></nav>
</header>

<div class='widgets'>
  
    
      
      <div class='widget-wrap' id='markdown'>
  <div class='widget-header h4 dis-select'>
    <span class='name'>欢迎</span>
  </div>
  <div class='widget-body fs14'>
    
      <p>欢迎光临我的网站！我是南京大学生物科学专业的2020级本科生。我会在这里记录我是如何解决一些日常遇到的问题的。大多数问题可能和软件或者计算机相关，当然也不排除之后会有一些关于生物的话题。</p>

    
  </div>
</div>

    
  
    
      
      
<div class="widget-wrap" id="recent"><div class="widget-header h4 dis-select"><span class="name">最近更新</span></div><div class="widget-body fs14"><div class="post-title reveal"><div class="cap"><time>2021-08-14</time></div><a href="/2021/07/08/a%20interesting%20problem%20when%20I%E2%80%98m%20learning%20Euler%20and%20Eratosthenes%20method/">使用 Python 实现素数筛时发现的有趣问题</a></div><div class="post-title reveal"><div class="cap"><time>2021-08-14</time></div><a href="/2021/08/08/how-to-automatically-report-nju-health-information-on-the-phone/">如何在手机上设置南大 APP 自动打卡（一）</a></div><div class="post-title reveal"><div class="cap"><time>2021-08-09</time></div><a href="/2021/08/09/about/">关于</a></div><div class="post-title reveal"><div class="cap"><time>2021-08-09</time></div><a href="/2021/06/12/a%20problem%20when%20adding%20NJU%20email%20to%20Window%2010%20mail%20app/">关于在 Windows10 自带的邮件应用中添加南大邮箱遇到的问题</a></div><div class="post-title reveal"><div class="cap"><time>2021-07-12</time></div><a href="/2021/07/12/sort-algorithm-reminder-3/">排序算法备忘录（三）</a></div></div></div>

    
  
</div>


    </aside>
    <div class='l_main list'>
      
  
<header class='header mobile-only'>
  <div class='logo-wrap'>
  
  
    <a class='title' href='/'>
      Debug Myself
    </a>
  
</div>

  <nav class="menu dis-select"><a class="nav-item active" href="/">文章</a><a class="nav-item" href="/2021/08/09/about/">关于</a></nav>
</header>



      


  <div class='nav-wrap'>
  <nav class='sub post cap'>
    
      <a class='active' href='/'>近期发布</a>
    
    
    
      
        <a href='/tags'>标签</a>
      
    
    
      
        <a href='/archives'>归档</a>
      
    
  </nav>
</div>

  <div class="post-list post"><a class="post-card post article" href="/2021/08/09/about/"><article class="excerpt md">

<h2 class="post-title">
  关于
</h2>
<div class='excerpt'>
  
    <p> 欢迎光临我的网站！
 我是南京大学生物科学专业的 2020 级本科生。我会在这里记录我是如何解决一些日常遇到的问题的。大多数问题可能和软件或者计算机相关，当然也不排除之后会有一些关于生物的话题...</p>
  
</div>
<div class='meta cap'>
  <span class='cap' id='post-meta'>
    发布于&nbsp;<time datetime='2021-08-08T16:00:00.000Z'>2021-08-09</time>
  </span>
  
  
</div>
</article></a><a class="post-card post article" href="/2021/08/08/how-to-automatically-report-nju-health-information-on-the-phone/"><article class="excerpt md">

<h2 class="post-title">
  如何在手机上设置南大 APP 自动打卡（一）
</h2>
<div class='excerpt'>
  
    <p>Github 上 @cubiccm大佬的打卡程序只实现了打卡的部分，登录部分还需要手动操作，并不能实现真正的自动化。所以我用 Python 实现了登陆部分，同时简化了一下 cubiccm 的代码...</p>
  
</div>
<div class='meta cap'>
  <span class='cap' id='post-meta'>
    发布于&nbsp;<time datetime='2021-08-07T16:00:00.000Z'>2021-08-08</time>
  </span>
  
  
</div>
</article></a><a class="post-card post article" href="/2021/07/12/sort-algorithm-reminder-3/"><article class="excerpt md">

<h2 class="post-title">
  排序算法备忘录（三）
</h2>
<div class='excerpt'>
  
    <p> 快速排序
总算到了速度比较快同时也较之前更复杂的算法了。这里的思路和代码参考了菜鸟教程 1 和编程网 2 的文章。
快速排序总的来看是一种分治思想。以从小到大为例，先确定一个基准数 k，这里选...</p>
  
</div>
<div class='meta cap'>
  <span class='cap' id='post-meta'>
    发布于&nbsp;<time datetime='2021-07-12T15:35:00.000Z'>2021-07-12</time>
  </span>
  
  
</div>
</article></a><a class="post-card post article" href="/2021/07/08/a%20interesting%20problem%20when%20I%E2%80%98m%20learning%20Euler%20and%20Eratosthenes%20method/"><article class="excerpt md">

<h2 class="post-title">
  使用 Python 实现素数筛时发现的有趣问题
</h2>
<div class='excerpt'>
  
    <p>最近学习素数筛算法，算法参考自两篇 CSDN 的文章12，原文是用 C/C++ 来写的，我用 Python 进行了改写。
12345import timefrom icecream import...</p>
  
</div>
<div class='meta cap'>
  <span class='cap' id='post-meta'>
    发布于&nbsp;<time datetime='2021-07-08T05:14:00.000Z'>2021-07-08</time>
  </span>
  
  
</div>
</article></a><a class="post-card post article" href="/2021/06/14/some%20of%20my%20experiences%20about%20cloud%20services/"><article class="excerpt md">

<h2 class="post-title">
  我使用云服务的一些经历
</h2>
<div class='excerpt'>
  
    <p> 这些年来因为有不少文件传输和备份的需求，所以用过一些云服务产品。我使用云服务的时候已经是各种大容量网盘停止服务之后（虽然之前已经注册了一些账号，但是很少使用），云服务开始有了很强的办公倾向。在...</p>
  
</div>
<div class='meta cap'>
  <span class='cap' id='post-meta'>
    发布于&nbsp;<time datetime='2021-06-13T16:56:00.000Z'>2021-06-14</time>
  </span>
  
  
</div>
</article></a><a class="post-card post article" href="/2021/06/12/a%20problem%20when%20adding%20NJU%20email%20to%20Window%2010%20mail%20app/"><article class="excerpt md">

<h2 class="post-title">
  关于在 Windows10 自带的邮件应用中添加南大邮箱遇到的问题
</h2>
<div class='excerpt'>
  
    <p> 我在电脑上使用的是 Win10 自带的邮件应用来收发邮件。自带的应用功能简洁，满足日常需要，并且可以很方便的在右下角显示通知。
 之前我是用网页版的腾讯企业邮箱来收发我的教育邮箱邮件的，之前考...</p>
  
</div>
<div class='meta cap'>
  <span class='cap' id='post-meta'>
    发布于&nbsp;<time datetime='2021-06-11T16:00:00.000Z'>2021-06-12</time>
  </span>
  
  
</div>
</article></a><a class="post-card post article" href="/2021/04/17/sort-algorithm-reminder-2/"><article class="excerpt md">

<h2 class="post-title">
  排序算法备忘录（二）
</h2>
<div class='excerpt'>
  
    <p>这是排序算法备忘录的第二篇。这一篇是关于插入排序。
 插入排序
插入排序的原理类似于日常生活中排序的方法，先找到一个有序的数列，把一个数按照一定的顺序与有序数列中的数字进行比较，找到所在的位置，...</p>
  
</div>
<div class='meta cap'>
  <span class='cap' id='post-meta'>
    发布于&nbsp;<time datetime='2021-04-16T16:53:19.000Z'>2021-04-17</time>
  </span>
  
  
</div>
</article></a><a class="post-card post article" href="/2021/04/15/sort_algorithm_reminder_1/"><article class="excerpt md">

<h2 class="post-title">
  排序算法备忘录（一）
</h2>
<div class='excerpt'>
  
    <p>排序算法时算法中很基础的内容。之前只是会简单的冒泡排序，后来用了 Python 以后，排序直接使用自带的函数，没有去学习一些排序算法的原理。今天课上讲了一些简单的排序算法的原理，比如  冒泡 选...</p>
  
</div>
<div class='meta cap'>
  <span class='cap' id='post-meta'>
    发布于&nbsp;<time datetime='2021-04-15T15:22:00.000Z'>2021-04-15</time>
  </span>
  
  
</div>
</article></a><a class="post-card post article" href="/2021/04/11/a_problem_about_the_geography_coordinate_in_web_developing/"><article class="excerpt md">

<h2 class="post-title">
  网站开发时经纬度坐标系的问题
</h2>
<div class='excerpt'>
  
    <p>前几日和 @CSSAcsllg 合作做一个用于社团定向越野活动的网站，需要用到定位功能，定位使用的是 HTML5 中的 getCurrentPosition()方法：
123456789// 参...</p>
  
</div>
<div class='meta cap'>
  <span class='cap' id='post-meta'>
    发布于&nbsp;<time datetime='2021-04-11T15:49:20.000Z'>2021-04-11</time>
  </span>
  
  
</div>
</article></a><a class="post-card post article" href="/2021/04/10/an_interesting_bug_in_Spyder5/"><article class="excerpt md">

<h2 class="post-title">
  Spyder5.0.0 的一个有趣的 bug
</h2>
<div class='excerpt'>
  
    <p>Spyder 前几日更新到了 5.0.0 版本。由于我写 Python 代码一般用 vscode，所以没有安装 Spyder。但周四在 Python 课程群里，有人问 Spyder 更新以后出现...</p>
  
</div>
<div class='meta cap'>
  <span class='cap' id='post-meta'>
    发布于&nbsp;<time datetime='2021-04-10T03:09:00.000Z'>2021-04-10</time>
  </span>
  
  
</div>
</article></a></div>
  
  <div class='paginator-wrap dis-select'>
    <a class='paginator prev disable' href='/'>
      <img src='https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/arrow/f049bbd4e88ec.svg'/>
    </a>
    <div class='paginator current'>
      1<span class='sep'></span>2
    </div>
    <a class='paginator next' href='/page/2/'>
      <img src='https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/arrow/064b95430caf4.svg'/>
    </a>
  </div>




      
<footer class="page-footer fs12"><hr><div><p>本博客所有文章除特别声明外，均采用 <a target="_blank" rel="noopener" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a> 许可协议，转载请注明出处。</p>
<p>本站由 <a href="https://stassenger.gitee.io/">@Asante Stassenger</a> 创建，使用 <a target="_blank" rel="noopener" href="https://github.com/xaoxuu/hexo-theme-stellar/tree/1.1.0">Stellar</a> 作为主题。</p>
</div></footer>


      <div class='float-panel mobile-only' style='display:none'>
  <button type='button' class='sidebar-toggle mobile' onclick='sidebar.toggle()'>
    <svg class="icon" viewBox="0 0 1228 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2849"><path d="M0 0m97.390199 0l973.901995 0q97.390199 0 97.390199 97.390199l0 0q0 97.390199-97.390199 97.3902l-973.901995 0q-97.390199 0-97.390199-97.3902l0 0q0-97.390199 97.390199-97.390199Z" p-id="2850"></path><path d="M0 389.560798m97.390199 0l973.901995 0q97.390199 0 97.390199 97.390199l0 0q0 97.390199-97.390199 97.3902l-973.901995 0q-97.390199 0-97.390199-97.3902l0 0q0-97.390199 97.390199-97.390199Z" p-id="2851"></path><path d="M0 779.121596m97.390199 0l973.901995 0q97.390199 0 97.390199 97.390199l0 0q0 97.390199-97.390199 97.390199l-973.901995 0q-97.390199 0-97.390199-97.390199l0 0q0-97.390199 97.390199-97.390199Z" p-id="2852"></path></svg>
  </button>
</div>

    </div>
  </div>
  <div class='scripts'>
    <script type="text/javascript">
  stellar = {
    // 懒加载 css https://github.com/filamentgroup/loadCSS
    loadCSS: (href, before, media, attributes) => {
      var doc = window.document;
      var ss = doc.createElement("link");
      var ref;
      if (before) {
        ref = before;
      } else {
        var refs = (doc.body || doc.getElementsByTagName("head")[0]).childNodes;
        ref = refs[refs.length - 1];
      }
      var sheets = doc.styleSheets;
      if (attributes) {
        for (var attributeName in attributes) {
          if (attributes.hasOwnProperty(attributeName)) {
            ss.setAttribute(attributeName, attributes[attributeName]);
          }
        }
      }
      ss.rel = "stylesheet";
      ss.href = href;
      ss.media = "only x";
      function ready(cb) {
        if (doc.body) {
          return cb();
        }
        setTimeout(function () {
          ready(cb);
        });
      }
      ready(function () {
        ref.parentNode.insertBefore(ss, before ? ref : ref.nextSibling);
      });
      var onloadcssdefined = function (cb) {
        var resolvedHref = ss.href;
        var i = sheets.length;
        while (i--) {
          if (sheets[i].href === resolvedHref) {
            return cb();
          }
        }
        setTimeout(function () {
          onloadcssdefined(cb);
        });
      };
      function loadCB() {
        if (ss.addEventListener) {
          ss.removeEventListener("load", loadCB);
        }
        ss.media = media || "all";
      }
      if (ss.addEventListener) {
        ss.addEventListener("load", loadCB);
      }
      ss.onloadcssdefined = onloadcssdefined;
      onloadcssdefined(loadCB);
      return ss;
    },

    // 从 butterfly 和 volantis 获得灵感
    loadScript: (src, opt) => new Promise((resolve, reject) => {
      var script = document.createElement('script')
      script.src = src
      if (opt) {
        for (let key of Object.keys(opt)) {
          script[key] = opt[key]
        }
      } else {
        // 默认异步，如果需要同步，第二个参数传入 {} 即可
        script.async = true
      }
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    }),

    // https://github.com/jerryc127/hexo-theme-butterfly
    jQuery: (fn) => {
      if (typeof jQuery === 'undefined') {
        stellar.loadScript(stellar.plugins.jQuery).then(fn)
      } else {
        fn()
      }
    }
  };
  stellar.github = 'https://github.com/xaoxuu/hexo-theme-stellar/tree/1.1.0';
  stellar.config = {
    date_suffix: {
      just: '刚刚',
      min: '分钟前',
      hour: '小时前',
      day: '天前',
      month: '个月前',
    },
  };

  // required plugins (only load if needs)
  stellar.plugins = {
    jQuery: 'https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js',
    sitesjs: '/js/plugins/sites.js',
    friendsjs: '/js/plugins/friends.js',
  };

  // optional plugins
  if ('true' == 'true') {
    stellar.plugins.lazyload = Object.assign({"enable":true,"js":"https://cdn.jsdelivr.net/npm/vanilla-lazyload@17.3.1/dist/lazyload.min.js","transition":"blur"});
  }
  if ('true' == 'true') {
    stellar.plugins.swiper = Object.assign({"enable":true,"css":"https://unpkg.com/swiper/swiper-bundle.min.css","js":"https://unpkg.com/swiper/swiper-bundle.min.js"});
  }
  if ('' == 'true') {
    stellar.plugins.scrollreveal = Object.assign({"enable":null,"js":"https://cdn.jsdelivr.net/npm/scrollreveal@4.0.9/dist/scrollreveal.min.js","distance":"8px","duration":500,"interval":100,"scale":1});
  }
  if ('true' == 'true') {
    stellar.plugins.preload = Object.assign({"enable":true,"service":"flying_pages","instant_page":"https://cdn.jsdelivr.net/gh/volantis-x/cdn-volantis@4.1.2/js/instant_page.js","flying_pages":"https://cdn.jsdelivr.net/gh/gijo-varghese/flying-pages@2.1.2/flying-pages.min.js"});
  }
</script>

<!-- required -->

  
<script src="/js/main.js" async></script>



<!-- optional -->

  <script>
  function getEmojiMaps() {
    function emoji(path, idx, ext) {
      return path + "/" + path + "-" + idx + "." + ext;
    }
    var emojiMaps = {};
    for (var i = 1; i <= 54; i++) {
      emojiMaps['tieba-' + i] = emoji('tieba', i, 'png');
    }
    for (var i = 1; i <= 101; i++) {
      emojiMaps['qq-' + i] = emoji('qq', i, 'gif');
    }
    for (var i = 1; i <= 116; i++) {
      emojiMaps['aru-' + i] = emoji('aru', i, 'gif');
    }
    for (var i = 1; i <= 125; i++) {
      emojiMaps['twemoji-' + i] = emoji('twemoji', i, 'png');
    }
    for (var i = 1; i <= 4; i++) {
      emojiMaps['weibo-' + i] = emoji('weibo', i, 'png');
    }
    return emojiMaps;
  }
  function load_comment(){
    if(!document.getElementById("valine_container"))return;
    stellar.loadScript('https://cdn.jsdelivr.net/gh/XuxuGood/simple-blog-cdn@main/js/Valine.min.js', {defer:true}).then(function () {
      const el = document.getElementById("valine_container");
      var path = el.getAttribute('comment_id');
      const placeholder = "";
      if (!path) {
        path = decodeURI(window.location.pathname);
      }
      var valine = new Valine();
      valine.init(Object.assign({"js":"https://cdn.jsdelivr.net/gh/XuxuGood/simple-blog-cdn@main/js/Valine.min.js","appId":"Gmd8dpj69RW0YYzTOgchjKDG-9Nh9j0Va","appKey":"8XTx3FrEGvL5fwadDKGc0sHf","placeholder":null,"visitor":true,"requiredFields":["nick","mail"],"enableQQ":true,"recordIP":false,"avatar":"robohash","pageSize":10,"lang":"zh-cn","highlight":true,"mathJax":false,"tagMeta":["博主","小伙伴","访客"],"metaPlaceholder":{"nick":"昵称/QQ号(必填)","mail":"邮箱（必填）"},"master":["6783037F2DF30EAB99F9FC256157D875"],"friends":["6783037F2DF30EAB99F9FC256157D875"]}, {
        el: '#valine_container',
        path: path,
        placeholder: placeholder,
        emojiCDN: 'https://cdn.jsdelivr.net/gh/volantis-x/cdn-emoji/valine/',
        emojiMaps: getEmojiMaps(),
      }));
    });
  }
  window.addEventListener('DOMContentLoaded', (event) => {
    console.log('DOM fully loaded and parsed');
    load_comment();
  });

</script>




<!-- inject -->


  </div>
</body>
</html>
